#include "record.h"

int Sorted_CreateFile( char* fileName );
int Sorted_OpenFile( char* fileName );
int Sorted_CloseFile( int fileDesc );
int Sorted_InsertFirstEntry( int fileDesc, Record record );
int Sorted_GetAllEntries( int fileDesc, char* fieldName, void* value );
int Sorted_checkSortedFile( const char* file, int fieldNo );
int compare( Record record1, Record record2, int fieldNo );
